package com.ycy;

import com.ycy.juel.RDFAbpJuelForSkipTaskService;
import org.flowable.common.engine.api.delegate.FlowableFunctionDelegate;
import org.flowable.engine.impl.cfg.StandaloneProcessEngineConfiguration;

import java.util.ArrayList;
import java.util.List;

public class YCYStandaloneProcessEngineConfiguration extends StandaloneProcessEngineConfiguration {

//  /**
//   * 配置扩展表达式解析方法
//   */
//  public void initExpressFunction() {
//    List<FlowableFunctionDelegate> customFlowableFunctionDelegates = this.getCustomFlowableFunctionDelegates();
//    if(customFlowableFunctionDelegates == null){
//      customFlowableFunctionDelegates = new ArrayList<>();
//      customFlowableFunctionDelegates.add(new RDFAbpJuelForSkipTaskService());
//      this.setCustomFlowableFunctionDelegates(customFlowableFunctionDelegates);
//    }
//  }

}
